import prompt from '@system.prompt';
export default {
    data: {
        fit:"cover",
        fits: ["cover", "contain", "fill", "none", "scale-down"],
    },
    change_fit(e) {
        this.fit = e.newValue;
    },
    onMenuSelected(e) {
        prompt.showToast({
            message: e.value
        })
    },
    onTextClick() {
        this.$element("apiMenu").show({x:280,y:120});
    },

}